﻿define(function () {
    return {
        Init: function (name, html, mounted) {
            Vue.component(name, {
                props: ['list'],
                template: html,
                //methods: {
                //    ToPage: function (page) {
                //        this.$emit("change", page);
                //    },
                //},
                mounted: mounted
            });
        }
    };
});